﻿// ***************************************************************************
// * LCUI_Error.c -- LCUI‘s errors handling, at present, only macro definition
// * 
// * Copyright (C) 2012-2013 by
// * Liu Chao
// * 
// * This file is part of the LCUI project, and may only be used, modified, and
// * distributed under the terms of the GPLv2.
// * 
// * (GPLv2 is abbreviation of GNU General Public License Version 2)
// * 
// * By continuing to use, modify, or distribute this file you indicate that you
// * have read the license and understand and accept it fully.
// *  
// * The LCUI project is distributed in the hope that it will be useful, but 
// * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 
// * or FITNESS FOR A PARTICULAR PURPOSE. See the GPL v2 for more details.
// * 
// * You should have received a copy of the GPLv2 along with this file. It is 
// * usually in the LICENSE.TXT file, If not, see <http://www.gnu.org/licenses/>.
// * ***************************************************************************

// ****************************************************************************
// * LCUI_Error.h -- LCUI 的错误处理，目前只有宏定义
// *
// * 版权所有 (C) 2012-2013 归属于
// * 刘超
// * 
// * 这个文件是LCUI项目的一部分，并且只可以根据GPLv2许可协议来使用、更改和发布。
// *
// * (GPLv2 是 GNU通用公共许可证第二版 的英文缩写)
// * 
// * 继续使用、修改或发布本文件，表明您已经阅读并完全理解和接受这个许可协议。
// * 
// * LCUI 项目是基于使用目的而加以散布的，但不负任何担保责任，甚至没有适销性或特
// * 定用途的隐含担保，详情请参照GPLv2许可协议。
// *
// * 您应已收到附随于本文件的GPLv2许可协议的副本，它通常在LICENSE.TXT文件中，如果
// * 没有，请查看：<http://www.gnu.org/licenses/>. 
// * ***************************************************************************


#define APP_ERROR_UNRECORDED_APP
#define APP_ERROR_REGISTER_ERROR
#define ERROR_MALLOC_ERROR

#define ERROR_CONVERT_ERROR

#define FT_INIT_ERROR
#define FT_UNKNOWN_FILE_FORMAT
#define FT_OPEN_FILE_ERROR

#define INIT_ERROR_OPEN_FB_DEV_ERROR
#define INIT_ERROR_FONTFILE_ERROR

#define WIDGET_ERROR_GRAPH_ERROR
#define WIDGET_ERROR_TYPE_NOT_FOUND

#define LABLE_MALLOC_ERROR
#define WINDOWS_NUM_TOO_MUCH
#define MALLOC_ERROR
#define MSG_UNKNOWN_FORMAT
#define MSG_SHORT_FILE

#define WIDGET_TYPE_ERROR
#define WIDGET_REALLOC_ERROR
#define WIDGET_MALLOC_ERROR

#define ADD_NEW_WIDGET_TYPE_ERROR

//C++ TO C# CONVERTER NOTE: The following #define macro was replaced in-line:
//ORIGINAL LINE: #define ERROR_WINDOW_CLOSED -10
#define ERROR_WINDOW_CLOSED

